# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=nemo-qml-plugin-time
pkgver=0.1.3
pkgrel=1
pkgdesc="Nemo QML time plugin"
url="https://github.com/sailfishos/nemo-qml-plugin-time"
arch="all"
license="BSD-3-Clause"
makedepends="
	mce-dev
	qt5-qtbase-dev
	qt5-qtdeclarative-dev
	timed-dev
	"
source="https://github.com/sailfishos/nemo-qml-plugin-time/archive/$pkgver/nemo-qml-plugin-time-$pkgver.tar.gz"
options="!check"

build() {
	qmake-qt5
	make
}

package() {
	INSTALL_ROOT="$pkgdir" make install

	# Remove installed tests
	rm -r "$pkgdir"/opt
}

sha512sums="
062feace1101ebd091b7c7341fbc5356d31d5355400af357fa94be67b85f6dc17ed221097fd77444e02b8135335d5cca5c63539eeaf42d03742cfc0ead6ff533  nemo-qml-plugin-time-0.1.3.tar.gz
"
